import React, {Fragment} from 'react';
import {Switch} from "react-ui-xmui";

const SwitchDemo1 = () => {
  const handleSwitchChange=(checked)=>{
    // console.log(checked)
  }
  return (
    <Fragment>
      <Switch onSwitchChange={handleSwitchChange}/>
    </Fragment>
  );
};

export default SwitchDemo1;